/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.gitee.fdc.base.mapper.logicdelete;

import org.apache.ibatis.annotations.DeleteProvider;
import tk.mybatis.mapper.annotation.RegisterMapper;

/**
 *
 * @author qskj
 */
@RegisterMapper
public interface DeleteLogicMapper<T> {

    @DeleteProvider(type = DeleteLogicProvider.class, method = "dynamicSQL")
    public int deleteLogicByPrimaryKey(Object key);

    @DeleteProvider(type = DeleteLogicProvider.class, method = "dynamicSQL")
    public int unDeleteByPrimaryKey(Object key);
}
